package com.xy.blog.article.domain.dao;


import com.xy.blog.article.domain.dao.model.ArticleTagDO;
import com.xy.blog.article.domain.dao.model.ArticleTagRelDO;
import com.xy.blog.core.dao.IBaseCommonDao;

import java.util.List;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2020/5/27
 */
public interface IArticleTagDao extends IBaseCommonDao<ArticleTagDO, String> {


    void saveRel(ArticleTagRelDO item);


    List<ArticleTagRelDO> selectRel(ArticleTagRelDO item);

    void deleteRelByTagId(Long id);

    void deleteRelByArticleId(Long id);

    void deleteRelById(Long id);

}
